package com.charlie.meetingmanagement.service;


import com.charlie.meetingmanagement.pojo.po.PageBean;
import com.charlie.meetingmanagement.pojo.po.Request;
import com.charlie.meetingmanagement.pojo.po.Result;

import java.time.LocalDate;
import java.util.List;

public interface RequestService {
    PageBean page(Integer page, Integer pageSize,Integer userId ,Integer rentalId, Integer meetingroomId,
                  LocalDate meetingroomRentaldate, Integer meetingroomRentaltime, Integer approval);

    Result approveRequest(Integer approveId,Integer rentalId, Integer approval);

    List<Request> getRentalRequestById(Integer userId);
    
    void addRequest(Integer userId, Integer meetingroomId, LocalDate meetingroomRentaldate, Integer meetingroomRentaltime, String rentalDescribe);
}
